<%@ page language="java" pageEncoding="utf-8"%>
<jsp:directive.page import="cn.chainco.cts.utils.CookieUtil"/>
<jsp:directive.page import="org.apache.struts2.ServletActionContext"/>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="cts" uri="/cts" %>

	<%
		String cts_userid = CookieUtil.getCookieValue(ServletActionContext.getRequest(), "cts_userid");
		if(cts_userid != null && cts_userid.length() != 0){
	%>
		<s:set var="cts_userid"><cts:cookie value="cts_userid"/></s:set>
	<%
		}else{
	%>
		<s:set var="cts_userid" value="null"/>
	<%
		}
	%>
	
	<%
		String cts_logopath = CookieUtil.getCookieValue(ServletActionContext.getRequest(), "cts_logopath");
		if(cts_logopath != null && cts_logopath.length() != 0){
	%>
		<s:set var="cts_logopath"><cts:cookie value="cts_logopath"/></s:set>
	<%
		}else{
	%>
		<s:set var="cts_logopath" value="null"/>
	<%
		}
	%>
	
	<%
		String cts_emplcpyid = CookieUtil.getCookieValue(ServletActionContext.getRequest(), "cts_emplcpyid");
		if(cts_emplcpyid != null && cts_emplcpyid.length() != 0){
	%>
		<s:set var="cts_emplcpyid"><cts:cookie value="cts_emplcpyid"/></s:set>
	<%
		}else{
	%>
		<s:set var="cts_emplcpyid" value="null"/>
	<%
		}
	%>
	
	<%
		String cts_companyid = CookieUtil.getCookieValue(ServletActionContext.getRequest(), "cts_companyid");
		if(cts_companyid != null && cts_companyid.length() != 0){
	%>
		<s:set var="cts_companyid"><cts:cookie value="cts_companyid"/></s:set>
	<%
		}else{
	%>
		<s:set var="cts_companyid" value="null"/>
	<%
		}
	%>
	
	<%
		String cts_emplcpytype = CookieUtil.getCookieValue(ServletActionContext.getRequest(), "cts_emplcpytype");
		if(cts_emplcpytype != null && cts_emplcpytype.length() != 0){
	%>
		<s:set var="cts_emplcpytype"><cts:cookie value="cts_emplcpytype"/></s:set>
	<%
		}else{
	%>
		<s:set var="cts_emplcpytype" value="null"/>
	<%
		}
	%>
	
	<%
		String cts_locale = CookieUtil.getCookieValue(ServletActionContext.getRequest(), "cts_locale");
		if(cts_locale != null && cts_locale.length() != 0){
	%>
		<s:set var="cts_locale"><cts:cookie value="cts_locale"/></s:set>
	<%
		}else{
	%>
		<s:set var="cts_locale" value="null"/>
	<%
		}
	%>